#!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""
@File    ：embedding.py
@Author  ：平
@Date    ：2025/9/28 15:20 
"""
from langchain_openai import OpenAIEmbeddings

from app.config.config import settings

embeddings = OpenAIEmbeddings(
    model=settings.EMBEDDING_MODEL,
    api_key=settings.EMBEDDING_MODEL_API_KEY,
    base_url=settings.EMBEDDING_MODEL_BASE_URL)
